package com.aric.springbootmusic.entity.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddMusicParam {
    @NotBlank(message = "歌名不能为空")
    private String songName;
    @NotBlank(message = "歌手不能为空")
    private String singer;
    private String lyric;
    @NotNull(message = "歌曲类型不能为空")
    private String songType;
    @NotBlank(message = "歌曲图片地址不能为空")
    private String picAddress;
    @NotBlank(message = "歌曲图片物理地址不能为空")
    private String picRealAddress;
    @NotBlank(message = "歌曲地址不能为空")
    private String songAddress;
    @NotBlank(message = "歌曲物理地址不能为空")
    private String songRealAddress;
    @NotBlank(message = "歌曲总时间不能为空")
    private String totalTime;
    @NotBlank(message = "歌曲内容类型不能为空")
    private String contentType;
    private String format;
    private String lyricist;
    private String composer;
    private String arranger;
    private String tempo;
    private String remixer;
    private String album;
    private String albumArtist;
    private String copyright;
    private String releaseDate;
    private String releaseCountry;
}
